-
Home
-
GlobalPayments Gateway Provider for WooCommerce
-
1.15.2 (latest)
-
Code
-
Classes
- HeartlandGiftGateway
| Total Complexity |
62 |
| Dependencies |
7 |
| Dependents |
2 |
| Total lines |
406 |
| Lines of code |
303 |
| Logical lines of code |
154 |
| Comment lines |
6 |
| Methods |
18 |
| Properties |
2 |
Methods 18
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| addGiftCards() |
A |
40 |
8 |
68 |
| updateGiftCardCartTotal() |
A |
45 |
9 |
43 |
| getOriginalCartTotal() |
S |
57 |
7 |
17 |
| processGiftCardVoid() |
S |
55 |
6 |
19 |
| removeGiftCard() |
S |
57 |
6 |
16 |
| updateGiftCardTotals() |
S |
56 |
5 |
18 |
| giftCardBalance() |
S |
54 |
3 |
23 |
| getGiftCardTotals() |
S |
63 |
3 |
11 |
| applyGiftCard() |
S |
53 |
2 |
25 |
| updateOrderTotal() |
S |
66 |
3 |
8 |
| giftCardUsageAmount() |
S |
62 |
2 |
11 |
| __construct() |
S |
71 |
2 |
6 |
| configureServiceContainer() |
S |
69 |
1 |
7 |
| giftCardObject() |
S |
71 |
1 |
6 |
| addGiftCardToCartSession() |
S |
70 |
1 |
6 |
| giftCardName() |
S |
71 |
1 |
5 |
| processGiftCardSale() |
S |
65 |
1 |
9 |
| removeAllGiftCardsFromSession() |
S |
74 |
1 |
5 |